package com.service;

import com.dao.UserDao;
import com.entity.User;

public class UserManager {

	private UserDao userDao;

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public void save(){
		User u = new User();
		u.setUsername("呵呵");
		userDao.insert(u);
	}

}
